home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7740 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: xs4all.nl!not-for-mail
  2. From: yrozijn@xs4all.nl (Yvon Rozijn)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Help with transparent objects
  5. Date: 21 Apr 1996 16:42:17 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4ldoh9$1t8@news.xs4all.nl>
  8. References: <4l13tn$u@ns.ccsn.edu> <1996Apr19.104649.4477@imada.ou.dk>
  9. NNTP-Posting-Host: asd03-03.dial.xs4all.nl
  10. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  11.  
  12. Bjorn Reese (breese@imada.ou.dk) wrote:
  13. : Use graphics.library/BltMaskBitMapRastPort instead.
  14. : "shape" is a pointer to a memory area where the mask/shape of the
  15. : object is, ie. should contain a zero bit for each transparent pixel
  16. : and a one bit otherwise. You can get this shape by OR'ing the bitplanes.
  17.                                                      ^^^^^^^^^^^^^^^^^^^^
  18. Only if 0 is the transparent colour. Otherwise it's a bit more
  19. complicated.
  20.  
  21. -- 
  22.                  ___                                   _
  23.    Q          : |  #|           :  \|/  http://www. : [_]_
  24.  -<_>- Yvon   : | ==| yrozijn@  : >WWW< xs4all.nl/  : === ) Amiga
  25.   / \  Rozijn : `---' xs4all.nl :  /|\  ~yrozijn    :     O  4000
  26.